package com.bytearch.fastcloud.boot.order.enums;

/**
 * 状态枚举
 */
public enum StatusEnum {
    ORDER_INIT(10, "预定中"),
    ORDER_TO_BE_SERVED(20, "待服务"),
    ORDER_START_OFF(30, "已出发"),
    ORDER_ARRIVED(40, "服务中"),
    ORDER_IN_SERVICE(50, "服务中"),
    ORDER_TO_BE_PAID(55, "待支付"),
    ORDER_SETTLED(60, "已结算"),
    ORDER_COMPLETED(70, "已完成"),
    ORDER_CANCEL(100, "已取消");

    private Integer status;
    private String desc;

    StatusEnum(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public Integer getStatus() {
        return status;
    }

    public String getDesc() {
        return desc;
    }
}
